From 6fedc469ee5f16566e40c81bdbb79d07c203eb89 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 4 Nov 2005 19:43:39 +0000 Subject: [PATCH] Msroute: fix endianness problem. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1538 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/msroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/msroute.c b/gpsbabel/msroute.c index ae63e4e7a..4cb5f932b 100644 --- a/gpsbabel/msroute.c +++ b/gpsbabel/msroute.c @@ -207,7 +207,7 @@ ole_find_property(const char *property) len = min(OLE_MAX_NAME_LENGTH, item->name_size / 2); for (j = 0; j < len; j++) - buff[j] = item->name[j]; + buff[j] = le_read16(&item->name[j]); buff[j] = '\0'; if (case_ignore_strcmp(buff, property) == 0) -- 2.30.2